package com.bw.mallshop.mvvm.model;

import com.bw.mallshop.mvvm.model.entity.BottomEntity;
import com.bw.mallshop.mvvm.model.entity.TokenEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

public
/**
 * @author Lishaohe
 * @description:
 * @date :2021/10/13 0013 下午 6:05
 *
 */
interface Api {
    @POST("sysToken/getToken")
    Observable<TokenEntity> requestToken(@Body RequestBody body);
    @POST("userCenter/getConfig")
    Observable<BottomEntity> requestBottom(@Body RequestBody body);
}
